/**
 * 
 */
package com.pzitsoft.videoteca.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import com.pzitsoft.videoteca.dao.VideoDAO;
import com.pzitsoft.videoteca.domain.Pelicula;

/**
 * @author pferraz
 *
 */
public class VideoManagerImpl implements VideoManager {

	@Autowired
	private VideoDAO videoDAO;
	/* (non-Javadoc)
	 * @see com.pzitsoft.videoteca.service.VideoManager#getAllPeliculas()
	 */
	@Override
	public List<Pelicula> getAllPeliculas() {
		// TODO Auto-generated method stub
		return videoDAO.getAllPeliculas();
	}
	@Override
	public boolean addPelicula(Pelicula p) {
		// TODO Auto-generated method stub
		return videoDAO.addPelicula(p);
	}

}
